[INFO] fetching crate art-stamps 0.1.0...
[INFO] building art-stamps-0.1.0 against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] extracting crate art-stamps 0.1.0 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate art-stamps 0.1.0 on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate art-stamps 0.1.0
[INFO] finished tweaking crates.io crate art-stamps 0.1.0
[INFO] tweaked toml for crates.io crate art-stamps 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate crates.io crate art-stamps 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 07fde61be7012dbfaae7e62cd6225ccf9bfdc452159fa94ad3f3ebc655a7603e
[INFO] running `Command { std: "docker" "start" "-a" "07fde61be7012dbfaae7e62cd6225ccf9bfdc452159fa94ad3f3ebc655a7603e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "07fde61be7012dbfaae7e62cd6225ccf9bfdc452159fa94ad3f3ebc655a7603e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07fde61be7012dbfaae7e62cd6225ccf9bfdc452159fa94ad3f3ebc655a7603e", kill_on_drop: false }`
[INFO] [stdout] 07fde61be7012dbfaae7e62cd6225ccf9bfdc452159fa94ad3f3ebc655a7603e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 159876c0e77007e07953bb86d2ea8965f388d1ecb5564a316eee1b9ce4f63fcd
[INFO] running `Command { std: "docker" "start" "-a" "159876c0e77007e07953bb86d2ea8965f388d1ecb5564a316eee1b9ce4f63fcd", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling version-compare v0.0.10
[INFO] [stderr]    Compiling gimli v0.22.0
[INFO] [stderr]    Compiling adler v0.2.3
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling serde v1.0.116
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling syn v1.0.41
[INFO] [stderr]    Compiling object v0.20.0
[INFO] [stderr]    Compiling serde_derive v1.0.116
[INFO] [stderr]    Compiling sdl2 v0.34.3
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling miniz_oxide v0.4.2
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.21
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling sdl2-sys v0.34.3
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling addr2line v0.13.0
[INFO] [stderr]    Compiling backtrace v0.3.50
[INFO] [stderr]    Compiling error-chain v0.10.0
[INFO] [stderr]    Compiling serde-xml-rs v0.3.1
[INFO] [stderr]    Compiling art-stamps v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/polygonsvg.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/polygonsvg.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::serde_xml_rs::from_str`
[INFO] [stdout]  --> src/polygonsvg.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::serde_xml_rs::from_str;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/polygonsvg.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryFrom`
[INFO] [stdout]   --> src/polygonsvg.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::convert::TryFrom;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `defs` should have an upper camel case name
[INFO] [stdout]    --> src/polygonsvg.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub struct defs {
[INFO] [stdout]     |            ^^^^ help: convert the identifier to upper camel case: `Defs`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `from_str` is imported redundantly
[INFO] [stdout]    --> src/polygonsvg.rs:238:13
[INFO] [stdout]     |
[INFO] [stdout] 5   | use super::serde_xml_rs::from_str;
[INFO] [stdout]     |     ----------------------------- the item `from_str` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 238 |         use super::serde_xml_rs::from_str;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::serde_xml_rs::from_str`
[INFO] [stdout]  --> src/svgxml.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::serde_xml_rs::from_str;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `defs` should have an upper camel case name
[INFO] [stdout]    --> src/svgxml.rs:326:12
[INFO] [stdout]     |
[INFO] [stdout] 326 | pub struct defs {
[INFO] [stdout]     |            ^^^^ help: convert the identifier to upper camel case: `Defs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `from_str` is imported redundantly
[INFO] [stdout]    --> src/svgxml.rs:387:13
[INFO] [stdout]     |
[INFO] [stdout] 5   | use super::serde_xml_rs::from_str;
[INFO] [stdout]     |     ----------------------------- the item `from_str` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 387 |         use super::serde_xml_rs::from_str;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Color`, `Mask`, `SourceStamp`
[INFO] [stdout]    --> src/svgxml.rs:470:26
[INFO] [stdout]     |
[INFO] [stdout] 470 |     use super::{F64Point,Color, SourceStamp, Mask};
[INFO] [stdout]     |                          ^^^^^  ^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition
[INFO] [stdout]    --> src/svgxml.rs:705:3
[INFO] [stdout]     |
[INFO] [stdout] 705 | /   macro_rules! assert_approx_eq {
[INFO] [stdout] 706 | |       ($left: expr, $right: expr) => (
[INFO] [stdout] 707 | |           if _approx_eq($left, $right) == false {assert_eq!($left, $right)} else {()}
[INFO] [stdout] 708 | |       );
[INFO] [stdout] 709 | |   }
[INFO] [stdout]     | |___^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Write`
[INFO] [stdout]  --> src/polygonsvg.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::fmt::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `segment_to_end`
[INFO] [stdout]    --> src/polygonsvg.rs:534:9
[INFO] [stdout]     |
[INFO] [stdout] 534 |     let segment_to_end = sub2d(perp_dir, segment.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segment_to_end`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rest`
[INFO] [stdout]   --> src/svgxml.rs:78:16
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let (bstr, rest) = rest.split_at(2);
[INFO] [stdout]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_rest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scratch`
[INFO] [stdout]    --> src/svgxml.rs:291:17
[INFO] [stdout]     |
[INFO] [stdout] 291 |         let mut scratch = String::new();
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/polygonsvg.rs:242:13
[INFO] [stdout]     |
[INFO] [stdout] 242 |         let mut ret = self.section.to_polygon();
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/polygonsvg.rs:368:21
[INFO] [stdout]     |
[INFO] [stdout] 368 |                 let mut ta = (a.1 - origin.1) / dir.1;
[INFO] [stdout]     |                     ----^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/polygonsvg.rs:369:21
[INFO] [stdout]     |
[INFO] [stdout] 369 |                 let mut tb = (b.1 - origin.1) / dir.1;
[INFO] [stdout]     |                     ----^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/polygonsvg.rs:488:9
[INFO] [stdout]     |
[INFO] [stdout] 488 |     let mut a_p_intersection = ray_vs_polygon(a, sub2d(b, a), poly_transform, poly);
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/polygonsvg.rs:489:9
[INFO] [stdout]     |
[INFO] [stdout] 489 |     let mut b_p_intersection = ray_vs_polygon(b, sub2d(a, b), poly_transform, poly);
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/svgxml.rs:291:13
[INFO] [stdout]     |
[INFO] [stdout] 291 |         let mut scratch = String::new();
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `read_to_string`
[INFO] [stdout]    --> src/polygonsvg.rs:721:6
[INFO] [stdout]     |
[INFO] [stdout] 721 |   fn read_to_string(filename: &Path) ->  Result<String, serde_xml_rs::Error> {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `clipPath` should have a snake case name
[INFO] [stdout]    --> src/svgxml.rs:328:9
[INFO] [stdout]     |
[INFO] [stdout] 328 |     pub clipPath: Vec<ClipPath>,
[INFO] [stdout]     |         ^^^^^^^^ help: convert the identifier to snake case: `clip_path`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 24 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]    --> src/bin/art-stamps.rs:777:22
[INFO] [stdout]     |
[INFO] [stdout] 777 |                 for (key,_)in keys_down.iter() {
[INFO] [stdout]     |                      ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mask`
[INFO] [stdout]    --> src/bin/art-stamps.rs:463:21
[INFO] [stdout]     |
[INFO] [stdout] 463 |                 for mask in self.mask_transforms.iter_mut() {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_mask`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 34.05s
[INFO] running `Command { std: "docker" "inspect" "159876c0e77007e07953bb86d2ea8965f388d1ecb5564a316eee1b9ce4f63fcd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "159876c0e77007e07953bb86d2ea8965f388d1ecb5564a316eee1b9ce4f63fcd", kill_on_drop: false }`
[INFO] [stdout] 159876c0e77007e07953bb86d2ea8965f388d1ecb5564a316eee1b9ce4f63fcd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 716b54dd5d6bd06074cb93faa5585c45b76ff87ee681c2cebefb2c0c595db88d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "716b54dd5d6bd06074cb93faa5585c45b76ff87ee681c2cebefb2c0c595db88d", kill_on_drop: false }`
[INFO] [stderr]    Compiling art-stamps v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/polygonsvg.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/polygonsvg.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::serde_xml_rs::from_str`
[INFO] [stdout]  --> src/polygonsvg.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::serde_xml_rs::from_str;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/polygonsvg.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryFrom`
[INFO] [stdout]   --> src/polygonsvg.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::convert::TryFrom;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `defs` should have an upper camel case name
[INFO] [stdout]    --> src/polygonsvg.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub struct defs {
[INFO] [stdout]     |            ^^^^ help: convert the identifier to upper camel case: `Defs`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `from_str` is imported redundantly
[INFO] [stdout]    --> src/polygonsvg.rs:238:13
[INFO] [stdout]     |
[INFO] [stdout] 5   | use super::serde_xml_rs::from_str;
[INFO] [stdout]     |     ----------------------------- the item `from_str` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 238 |         use super::serde_xml_rs::from_str;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::serde_xml_rs::from_str`
[INFO] [stdout]  --> src/svgxml.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::serde_xml_rs::from_str;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `defs` should have an upper camel case name
[INFO] [stdout]    --> src/svgxml.rs:326:12
[INFO] [stdout]     |
[INFO] [stdout] 326 | pub struct defs {
[INFO] [stdout]     |            ^^^^ help: convert the identifier to upper camel case: `Defs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `from_str` is imported redundantly
[INFO] [stdout]    --> src/svgxml.rs:387:13
[INFO] [stdout]     |
[INFO] [stdout] 5   | use super::serde_xml_rs::from_str;
[INFO] [stdout]     |     ----------------------------- the item `from_str` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 387 |         use super::serde_xml_rs::from_str;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Color`, `Mask`, `SourceStamp`
[INFO] [stdout]    --> src/svgxml.rs:470:26
[INFO] [stdout]     |
[INFO] [stdout] 470 |     use super::{F64Point,Color, SourceStamp, Mask};
[INFO] [stdout]     |                          ^^^^^  ^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition
[INFO] [stdout]    --> src/svgxml.rs:705:3
[INFO] [stdout]     |
[INFO] [stdout] 705 | /   macro_rules! assert_approx_eq {
[INFO] [stdout] 706 | |       ($left: expr, $right: expr) => (
[INFO] [stdout] 707 | |           if _approx_eq($left, $right) == false {assert_eq!($left, $right)} else {()}
[INFO] [stdout] 708 | |       );
[INFO] [stdout] 709 | |   }
[INFO] [stdout]     | |___^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Write`
[INFO] [stdout]  --> src/polygonsvg.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::fmt::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `segment_to_end`
[INFO] [stdout]    --> src/polygonsvg.rs:534:9
[INFO] [stdout]     |
[INFO] [stdout] 534 |     let segment_to_end = sub2d(perp_dir, segment.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segment_to_end`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rest`
[INFO] [stdout]   --> src/svgxml.rs:78:16
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let (bstr, rest) = rest.split_at(2);
[INFO] [stdout]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_rest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scratch`
[INFO] [stdout]    --> src/svgxml.rs:291:17
[INFO] [stdout]     |
[INFO] [stdout] 291 |         let mut scratch = String::new();
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/polygonsvg.rs:242:13
[INFO] [stdout]     |
[INFO] [stdout] 242 |         let mut ret = self.section.to_polygon();
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/polygonsvg.rs:368:21
[INFO] [stdout]     |
[INFO] [stdout] 368 |                 let mut ta = (a.1 - origin.1) / dir.1;
[INFO] [stdout]     |                     ----^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/polygonsvg.rs:369:21
[INFO] [stdout]     |
[INFO] [stdout] 369 |                 let mut tb = (b.1 - origin.1) / dir.1;
[INFO] [stdout]     |                     ----^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/polygonsvg.rs:488:9
[INFO] [stdout]     |
[INFO] [stdout] 488 |     let mut a_p_intersection = ray_vs_polygon(a, sub2d(b, a), poly_transform, poly);
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/polygonsvg.rs:489:9
[INFO] [stdout]     |
[INFO] [stdout] 489 |     let mut b_p_intersection = ray_vs_polygon(b, sub2d(a, b), poly_transform, poly);
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/svgxml.rs:291:13
[INFO] [stdout]     |
[INFO] [stdout] 291 |         let mut scratch = String::new();
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `read_to_string`
[INFO] [stdout]    --> src/polygonsvg.rs:721:6
[INFO] [stdout]     |
[INFO] [stdout] 721 |   fn read_to_string(filename: &Path) ->  Result<String, serde_xml_rs::Error> {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `clipPath` should have a snake case name
[INFO] [stdout]    --> src/svgxml.rs:328:9
[INFO] [stdout]     |
[INFO] [stdout] 328 |     pub clipPath: Vec<ClipPath>,
[INFO] [stdout]     |         ^^^^^^^^ help: convert the identifier to snake case: `clip_path`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 24 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]    --> src/bin/art-stamps.rs:777:22
[INFO] [stdout]     |
[INFO] [stdout] 777 |                 for (key,_)in keys_down.iter() {
[INFO] [stdout]     |                      ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mask`
[INFO] [stdout]    --> src/bin/art-stamps.rs:463:21
[INFO] [stdout]     |
[INFO] [stdout] 463 |                 for mask in self.mask_transforms.iter_mut() {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_mask`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/polygonsvg.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/polygonsvg.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::serde_xml_rs::from_str`
[INFO] [stdout]  --> src/polygonsvg.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::serde_xml_rs::from_str;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/polygonsvg.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryFrom`
[INFO] [stdout]   --> src/polygonsvg.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::convert::TryFrom;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `defs` should have an upper camel case name
[INFO] [stdout]    --> src/polygonsvg.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub struct defs {
[INFO] [stdout]     |            ^^^^ help: convert the identifier to upper camel case: `Defs`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `from_str` is imported redundantly
[INFO] [stdout]    --> src/polygonsvg.rs:238:13
[INFO] [stdout]     |
[INFO] [stdout] 5   | use super::serde_xml_rs::from_str;
[INFO] [stdout]     |     ----------------------------- the item `from_str` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 238 |         use super::serde_xml_rs::from_str;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::serde_xml_rs::from_str`
[INFO] [stdout]  --> src/svgxml.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::serde_xml_rs::from_str;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `defs` should have an upper camel case name
[INFO] [stdout]    --> src/svgxml.rs:326:12
[INFO] [stdout]     |
[INFO] [stdout] 326 | pub struct defs {
[INFO] [stdout]     |            ^^^^ help: convert the identifier to upper camel case: `Defs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `from_str` is imported redundantly
[INFO] [stdout]    --> src/svgxml.rs:387:13
[INFO] [stdout]     |
[INFO] [stdout] 5   | use super::serde_xml_rs::from_str;
[INFO] [stdout]     |     ----------------------------- the item `from_str` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 387 |         use super::serde_xml_rs::from_str;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SourceStamp`
[INFO] [stdout]    --> src/svgxml.rs:470:33
[INFO] [stdout]     |
[INFO] [stdout] 470 |     use super::{F64Point,Color, SourceStamp, Mask};
[INFO] [stdout]     |                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Transform`
[INFO] [stdout]    --> src/svgxml.rs:754:13
[INFO] [stdout]     |
[INFO] [stdout] 754 |         use super::Transform;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Write`
[INFO] [stdout]  --> src/polygonsvg.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::fmt::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `segment_to_end`
[INFO] [stdout]    --> src/polygonsvg.rs:534:9
[INFO] [stdout]     |
[INFO] [stdout] 534 |     let segment_to_end = sub2d(perp_dir, segment.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segment_to_end`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rest`
[INFO] [stdout]   --> src/svgxml.rs:78:16
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let (bstr, rest) = rest.split_at(2);
[INFO] [stdout]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_rest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scratch`
[INFO] [stdout]    --> src/svgxml.rs:291:17
[INFO] [stdout]     |
[INFO] [stdout] 291 |         let mut scratch = String::new();
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/polygonsvg.rs:242:13
[INFO] [stdout]     |
[INFO] [stdout] 242 |         let mut ret = self.section.to_polygon();
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/polygonsvg.rs:368:21
[INFO] [stdout]     |
[INFO] [stdout] 368 |                 let mut ta = (a.1 - origin.1) / dir.1;
[INFO] [stdout]     |                     ----^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/polygonsvg.rs:369:21
[INFO] [stdout]     |
[INFO] [stdout] 369 |                 let mut tb = (b.1 - origin.1) / dir.1;
[INFO] [stdout]     |                     ----^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/polygonsvg.rs:488:9
[INFO] [stdout]     |
[INFO] [stdout] 488 |     let mut a_p_intersection = ray_vs_polygon(a, sub2d(b, a), poly_transform, poly);
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/polygonsvg.rs:489:9
[INFO] [stdout]     |
[INFO] [stdout] 489 |     let mut b_p_intersection = ray_vs_polygon(b, sub2d(a, b), poly_transform, poly);
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/svgxml.rs:291:13
[INFO] [stdout]     |
[INFO] [stdout] 291 |         let mut scratch = String::new();
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `clipPath` should have a snake case name
[INFO] [stdout]    --> src/svgxml.rs:328:9
[INFO] [stdout]     |
[INFO] [stdout] 328 |     pub clipPath: Vec<ClipPath>,
[INFO] [stdout]     |         ^^^^^^^^ help: convert the identifier to snake case: `clip_path`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 23 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 5.24s
[INFO] running `Command { std: "docker" "inspect" "716b54dd5d6bd06074cb93faa5585c45b76ff87ee681c2cebefb2c0c595db88d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "716b54dd5d6bd06074cb93faa5585c45b76ff87ee681c2cebefb2c0c595db88d", kill_on_drop: false }`
[INFO] [stdout] 716b54dd5d6bd06074cb93faa5585c45b76ff87ee681c2cebefb2c0c595db88d
